<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class controler_translate | pwe-project</title>

	<script type="text/javascript" src="resources/combined.js?682347548"></script>
	<script type="text/javascript" src="elementlist.js?1761807718"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-API.html">API</a>
						</li>
				<li class="active"><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li><a href="package-PWE.html">PWE<span></span></a>
						<ul>
				<li><a href="package-PWE.bdd.html">bdd</a>
						</li>
				<li><a href="package-PWE.controler.html">controler</a>
						</li>
				<li><a href="package-PWE.modele.html">modele<span></span></a>
						<ul>
				<li><a href="package-PWE.modele.menu.html">menu</a>
						</li>
							</ul></li>
				<li><a href="package-PWE.tools.html">tools</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-controler_rooter.html">controler_rooter</a></li>
				<li class="active"><a href="class-controler_translate.html">controler_translate</a></li>
				<li><a href="class-modele_newsletter.html">modele_newsletter</a></li>
				<li><a href="class-modele_tag.html">modele_tag</a></li>
				<li><a href="class-modules_cvtheque_candidat.html">modules_cvtheque_candidat</a></li>
				<li><a href="class-modules_cvtheque_competence.html">modules_cvtheque_competence</a></li>
				<li><a href="class-modules_cvtheque_experience.html">modules_cvtheque_experience</a></li>
				<li><a href="class-modules_cvtheque_formation.html">modules_cvtheque_formation</a></li>
				<li><a href="class-modules_cvtheque_metier.html">modules_cvtheque_metier</a></li>
				<li><a href="class-modules_cvtheque_permis.html">modules_cvtheque_permis</a></li>
				<li><a href="class-modules_societe_employe.html">modules_societe_employe</a></li>
				<li><a href="class-modules_societe_societe.html">modules_societe_societe</a></li>
				<li><a href="class-tools_device.html">tools_device</a></li>
			</ul>





			<h3>Functions</h3>
			<ul>
				<li><a href="function-__autoload.html">__autoload</a></li>
				<li><a href="function-clean.html">clean</a></li>
				<li><a href="function-cleanString.html" class="invalid">cleanString</a></li>
				<li><a href="function-generateItem.html">generateItem</a></li>
			</ul>
		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-None.html" title="Summary of None"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
			<li>
				<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
			</li>
			<li>
				<a href="todo.html" title="Todo list"><span>Todo</span></a>
			</li>
		</ul>
		<ul>
			<li>
				<a href="pwe-project-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a>
			</li>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class controler_translate</h1>


	<div class="description">
	
<p>controler de traduction</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-PWE.html"><span>PWE</span></a>
			
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
			<a href="class-controler.html"><span>controler</span></a>
			
			
			
		</dd>
		<dd style="padding-left:60px">
			<img src="resources/inherit.png" alt="Extended by" />
<b><span>controler_translate</span></b>			
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		
		

				<b>Author:</b>
				Gmax<br />
		<b>Located at</b> <a href="source-class-controler_translate.html#2-138" title="Go to source code">engine/class/controler/translate.class.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-controler_translate.html#12" title="Go to source code">__construct</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-controler.html#___construct">controler::__construct()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="init" id="_init">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_init">#</a>
		<code><a href="source-class-controler_translate.html#14-23" title="Go to source code">init</a>( <span><code><a href="class-modele.html">modele</a></code> <var>$target</var></span>, <span>string <var>$lang</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			
<p>initialisation du traducteur</p>

		</div>

		<div class="description detailed hidden">
			
<p>initialisation du traducteur</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$target</var></dt>
					<dd><code><code><a href="class-modele.html">modele</a></code></code><br>$target</dd>
					<dt><var>$lang</var></dt>
					<dd><code>string</code><br>$lang</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getDatas" id="_getDatas">

		<td class="attributes"><code>
			 public 
			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getDatas">#</a>
		<code><a href="source-class-controler_translate.html#25-42" title="Go to source code">getDatas</a>( <span>boolean <var>$input</var> = <span class="php-keyword1">false</span></span>, <span>string <var>$lang</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			
<p>renvoi la liste des proprietes traduites de l'objet</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi la liste des proprietes traduites de l'objet</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$input</var></dt>
					<dd><code>boolean</code><br>$input</dd>
					<dt><var>$lang</var></dt>
					<dd><code>string</code><br>$lang</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>array</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setTarget" id="_setTarget">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setTarget">#</a>
		<code><a href="source-class-controler_translate.html#44-50" title="Go to source code">setTarget</a>( <span><code><a href="class-modele.html">modele</a></code> <var>$target</var></span> )</code>

		<div class="description short">
			
<p>defini la target courante</p>

		</div>

		<div class="description detailed hidden">
			
<p>defini la target courante</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$target</var></dt>
					<dd><code><code><a href="class-modele.html">modele</a></code></code><br>$target</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getTarget" id="_getTarget">

		<td class="attributes"><code>
			 public 
			<code><a href="class-modele.html">modele</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTarget">#</a>
		<code><a href="source-class-controler_translate.html#51-57" title="Go to source code">getTarget</a>( )</code>

		<div class="description short">
			
<p>envoi la target courante</p>

		</div>

		<div class="description detailed hidden">
			
<p>envoi la target courante</p>




				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-modele.html">modele</a></code></code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getTargetId" id="_getTargetId">

		<td class="attributes"><code>
			 public 
			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTargetId">#</a>
		<code><a href="source-class-controler_translate.html#58-64" title="Go to source code">getTargetId</a>( )</code>

		<div class="description short">
			
<p>renvoi l'identifiant du modele target</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi l'identifiant du modele target</p>




				<h4>Returns</h4>
				<div class="list">
					<code>integer</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getTargetType" id="_getTargetType">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTargetType">#</a>
		<code><a href="source-class-controler_translate.html#65-71" title="Go to source code">getTargetType</a>( )</code>

		<div class="description short">
			
<p>renvoi le type du modele target</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi le type du modele target</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setLangue" id="_setLangue">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setLangue">#</a>
		<code><a href="source-class-controler_translate.html#72-78" title="Go to source code">setLangue</a>( <span>string <var>$lang</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			
<p>défini la langue courante</p>

		</div>

		<div class="description detailed hidden">
			
<p>défini la langue courante</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$lang</var></dt>
					<dd><code>string</code><br>$lang</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getLangue" id="_getLangue">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getLangue">#</a>
		<code><a href="source-class-controler_translate.html#79-85" title="Go to source code">getLangue</a>( )</code>

		<div class="description short">
			
<p>renvoi la langue courante</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi la langue courante</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setTranslatedTarget" id="_setTranslatedTarget">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setTranslatedTarget">#</a>
		<code><a href="source-class-controler_translate.html#87-97" title="Go to source code">setTranslatedTarget</a>( <span><code><a href="class-modele.html">modele</a></code> <var>$target</var></span> )</code>

		<div class="description short">
			
<p>defini l'objet de rtaduction</p>

		</div>

		<div class="description detailed hidden">
			
<p>defini l'objet de rtaduction</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$target</var></dt>
					<dd><code><code><a href="class-modele.html">modele</a></code></code><br>$target</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getTranslatedTarget" id="_getTranslatedTarget">

		<td class="attributes"><code>
			 public 
			<code><a href="class-modele_translate.html">modele_translate</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTranslatedTarget">#</a>
		<code><a href="source-class-controler_translate.html#98-104" title="Go to source code">getTranslatedTarget</a>( )</code>

		<div class="description short">
			
<p>renvoi l'objet de traduction</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi l'objet de traduction</p>




				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-modele_translate.html">modele_translate</a></code></code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getTranslator" id="_getTranslator">

		<td class="attributes"><code>
			 public static
			<code><a href="class-controler_translate.html">controler_translate</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTranslator">#</a>
		<code><a href="source-class-controler_translate.html#108-118" title="Go to source code">getTranslator</a>( <span><code><a href="class-modele.html">modele</a></code> <var>$target</var></span>, <span>string <var>$lang</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			
<p>renvoi un controler de traduction</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi un controler de traduction</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$target</var></dt>
					<dd><code><code><a href="class-modele.html">modele</a></code></code><br>$target</dd>
					<dt><var>$lang</var></dt>
					<dd><code>string</code><br>$lang</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-controler_translate.html">controler_translate</a></code></code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="doTranslate" id="_doTranslate">

		<td class="attributes"><code>
			 public static
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_doTranslate">#</a>
		<code><a href="source-class-controler_translate.html#119-137" title="Go to source code">doTranslate</a>( <span><code><a href="class-modele.html">modele</a></code> <var>$object</var></span>, <span>string <var>$lang</var></span>, <span>string <var>$property</var></span>, <span>boolean <var>$input</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
<p>renvoi la valeur traduite de la propriete, la valeur d'origine est renvoyée
si aucune traduction n'est trouvée</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi la valeur traduite de la propriete, la valeur d'origine est renvoyée
si aucune traduction n'est trouvée</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$object</var></dt>
					<dd><code><code><a href="class-modele.html">modele</a></code></code><br>$object</dd>
					<dt><var>$lang</var></dt>
					<dd><code>string</code><br>$lang</dd>
					<dt><var>$property</var></dt>
					<dd><code>string</code><br>$property</dd>
					<dt><var>$input</var></dt>
					<dd><code>boolean</code><br>$input</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-controler.html#methods">controler</a></caption>
	<tr>
		<td><code>
			<a href="class-controler.html#_create">create()</a>, 
			<a href="class-controler.html#_delete">delete()</a>, 
			<a href="class-controler.html#_execute">execute()</a>, 
			<a href="class-controler.html#_getOutput">getOutput()</a>, 
			<a href="class-controler.html#_pingSe">pingSe()</a>, 
			<a href="class-controler.html#_read">read()</a>, 
			<a href="class-controler.html#_update">update()</a>
		</code></td>
	</tr>
	</table>
	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-PWE.html#methods">PWE</a></caption>
	<tr>
		<td><code>
			<a href="class-PWE.html#__process">_process()</a>, 
			<a href="class-PWE.html#_getBaseDirectory">getBaseDirectory()</a>, 
			<a href="class-PWE.html#_getBaseUrl">getBaseUrl()</a>, 
			<a href="class-PWE.html#_getCodeAnalytics">getCodeAnalytics()</a>, 
			<a href="class-PWE.html#_getContent">getContent()</a>, 
			<a href="class-PWE.html#_getDefaultTemplate">getDefaultTemplate()</a>, 
			<a href="class-PWE.html#_getDescription">getDescription()</a>, 
			<a href="class-PWE.html#_getHomePage">getHomePage()</a>, 
			<a href="class-PWE.html#_getHomePageName">getHomePageName()</a>, 
			<a href="class-PWE.html#_getLangues">getLangues()</a>, 
			<a href="class-PWE.html#_getLanguesActives">getLanguesActives()</a>, 
			<a href="class-PWE.html#_getLogo">getLogo()</a>, 
			<a href="class-PWE.html#_getMailAdmin">getMailAdmin()</a>, 
			<a href="class-PWE.html#_getMailContact">getMailContact()</a>, 
			<a href="class-PWE.html#_getMailNewsletter">getMailNewsletter()</a>, 
			<a href="class-PWE.html#_getMailService">getMailService()</a>, 
			<a href="class-PWE.html#_getMailSupport">getMailSupport()</a>, 
			<a href="class-PWE.html#_getMailjet">getMailjet()</a>, 
			<a href="class-PWE.html#_getMissingMedia">getMissingMedia()</a>, 
			<a href="class-PWE.html#_getMsg">getMsg()</a>, 
			<a href="class-PWE.html#_getNameAdmin">getNameAdmin()</a>, 
			<a href="class-PWE.html#_getNameContact">getNameContact()</a>, 
			<a href="class-PWE.html#_getNameNewsletter">getNameNewsletter()</a>, 
			<a href="class-PWE.html#_getNameService">getNameService()</a>, 
			<a href="class-PWE.html#_getNameSupport">getNameSupport()</a>, 
			<a href="class-PWE.html#_getOrigineCategory">getOrigineCategory()</a>, 
			<a href="class-PWE.html#_getOrigineCategoryName">getOrigineCategoryName()</a>, 
			<a href="class-PWE.html#_getPrefixBdd">getPrefixBdd()</a>, 
			<a href="class-PWE.html#_getSiteName">getSiteName()</a>, 
			<a href="class-PWE.html#_getTheme">getTheme()</a>, 
			<a href="class-PWE.html#_getThemePath">getThemePath()</a>, 
			<a href="class-PWE.html#_getThemeURL">getThemeURL()</a>, 
			<a href="class-PWE.html#_getThemeUi">getThemeUi()</a>, 
			<a href="class-PWE.html#_getTitle">getTitle()</a>, 
			<a href="class-PWE.html#_isInstallMode">isInstallMode()</a>, 
			<a href="class-PWE.html#_setMsg">setMsg()</a>, 
			<a href="class-PWE.html#_updatePrefixTable">updatePrefixTable()</a>
		</code></td>
	</tr>
	</table>











	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="_target" id="$_target">
		<td class="attributes"><code>
			private  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-controler_translate.html#8" title="Go to source code"><var>$_target</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">null</span></code></td>
		<td class="description"><div>
			<a href="#$_target" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_translate" id="$_translate">
		<td class="attributes"><code>
			private  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-controler_translate.html#9" title="Go to source code"><var>$_translate</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">null</span></code></td>
		<td class="description"><div>
			<a href="#$_translate" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_lang" id="$_lang">
		<td class="attributes"><code>
			private  
			string
		</code></td>

		<td class="name">
				<a href="source-class-controler_translate.html#10" title="Go to source code"><var>$_lang</var></a>
		</td>
		<td class="value"><code><span class="php-quote">''</span></code></td>
		<td class="description"><div>
			<a href="#$_lang" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Properties inherited from <a href="class-PWE.html#properties">PWE</a></caption>
	<tr>
		<td><code>
			<a href="class-PWE.html#$pingSeUrl"><var>$pingSeUrl</var></a>
		</code></td>
	</tr>
	</table>





</div>

	<div id="footer">
		pwe-project API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
